<div class="form">
	<h1>MEDALLA REGISTRADAS CON ÉXITO</h1>
	<h2 style="color:red;">DEPORTE: </h2>
	<h2 style="color:red;">
<?php 
$oEntidad = REntidad::model()->findByPk($medalla->grid_entidad_id);
echo $oEntidad->grid_grupo;
?>
</h2>
	<h2 style="color:red;">Medalla Obtenida en 
	<?php 
		$oPrograma = RPrograma::model()->findByPk($medalla->grid_programa_id);
		//echo $oPrograma->grid_programa_descripcion;
		?>
	
	 </h2>
	
	<table>
	
	<tr class="yellow">
		<td class="width">MEDALLA</td>
		<td class="adjacent"># ORO</td>	
		<td class="adjacent"># PLATA</td>	
		<td class="adjacent"># BRONCE</td>		
		<td class="adjacent">PUESTO</td>
		<td class="adjacent">ORDEN</td>
	</tr>
	
	<tr>
		<td class="width"><?php echo $medalla->grid_tipo_medalla;?></td>
		<td class="adjacent"><?php echo $medalla->grid_oro;?></td>	
		<td class="adjacent"><?php echo $medalla->grid_plata;?></td>
		<td class="adjacent"><?php echo $medalla->grid_bronce;?></td>	
		<td class="adjacent"><?php echo $medalla->grid_puesto;?></td>		
		<td class="adjacent"><?php echo $medalla->grid_orden;?></td>
	</tr>
	
	</table>
</div>